export enum FIELD_TYPE {
  NUMBER = 'number',
  INPUT = 'input',
  SWITCH = 'switch',
  SELECT = 'selector',
}

/**
 * 请求配置枚举
 * @IS_TOKEN 是否携带 token
 * @IS_LOADING 是否显示 loading
 * @LOADING_MESSAGE loading 提示信息
 */
export enum REQUEST_CONFIG_ENUM {
  IS_TOKEN = 'IS_TOKEN',
  IS_LOADING = 'IS_LOADING',
  LOADING_MESSAGE = 'LOADING_MESSAGE',
}

export enum ToastTypeEnum {
  DEFAULT = 'default',
  SUCCESS = 'success',
  ERROR = 'error',
  LOADING = 'loading',
}

export enum DeviceTypeEnum {
  ALL = 'ALL',
  LIGHTING = 'LIGHTING',
  CHUANGLIAN = 'CHUANGLIAN',
}

export enum DeviceTypeNameEnum {
  ALL = '全部设备',
  LIGHTING = '灯具',
  CHUANGLIAN = '窗帘电机',
}

export enum settingTypeEnum {
  SCENE_CONFIG = 'SCENE_CONFIG',
  TIME_CONTROL_CONFIG = 'TIME_CONTROL_CONFIG',
  AUTOMATIC_CONFIG = 'AUTOMATIC_CONFIG',
}

export enum settingTypeNameEnum {
  SCENE_CONFIG = '场景配置',
  TIME_CONTROL_CONFIG = '时控配置',
  AUTOMATIC_CONFIG = '自动化配置',
}
